import { postByJson } from "@/utils/request";
import config from "@/config/config";

// 根据会员ID发送邮件
export const ServeSendEmailByMemberId = (data) => {
    return postByJson(`${config.BASE_COMMON}/common/common/email/send-by-member-id`, data);
};

// 根据商家ID发送邮件
export const ServeSendEmailByStoreId = (data) => {
    return postByJson(`${config.BASE_COMMON}/common/common/email/send-by-store-id`, data);
};

